package com.itheima.zixi2.ZuoYe2;

public class STU {
    private String name;
    private int age;
    private String sex;
    private int height;
    private double score;

    @Override
    public String toString() {
        return "STU{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", height=" + height +
                ", score=" + score +
                '}';
    }

    public STU() {
    }

    public STU(String name, int age, String sex, int height, double score) {
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.height = height;
        this.score = score;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }
}
